Skip to content

Add processor context for hotspot crash tracking#10867

Merged
gh-worker-dd-mergequeue-cf854d[bot] merged 5 commits intomasterfrom
bdu/processor-context
Mar 25, 2026
Merged

Add processor context for hotspot crash tracking#10867
gh-worker-dd-mergequeue-cf854d[bot] merged 5 commits intomasterfrom
bdu/processor-context

Conversation

@bric3
Copy link
Copy Markdown
Contributor

@bric3 bric3 commented Mar 17, 2026

What Does This Do

Adds the registry of the processor from the Hotspot crash log, in the experimental field:

Json example Error tracking screenshot
"experimental":{
  "ucontext":{
    "RAX":"0x00007f36ccfbf170",
    "RBX":"0x000000008fd66048",
    "RCX":"0x0000000000000758",
    "RDX":"0x0000000000000008",
    "RSP":"0x00007f35e6253190",
    "RBP":"0x00007f35e6253220",
    "RSI":"0x00007f3639c2ff00",
    "RDI":"0x0000000000000000",
    "R8":"0x00007f37a16e2590",
    "R9":"0x00007f37a16e25a0",
    "R10":"0x00000000000008dd",
    "R11":"0x00007f3744198b70",
    "R12":"0x0000000000000000",
    "R13":"0x00007f35e6254750",
    "R14":"0x00007f3639c2ff00",
    "R15":"0x00007f35e6253320",
    "RIP":"0x00007f37a18bc187",
    "EFLAGS":"0x0000000000010286",
    "CSGSFS":"0x002b000000000033",
    "ERR":"0x0000000000000004",
    "TRAPNO":"0x000000000000000e"
  }
}
image

Motivation

Additional information

ucontext_t is a POSIX struct passed to signal handlers (third argument when using SA_SIGINFO). It captures the complete CPU state at the exact moment the signal was raised — i.e., at the point of crash. The JVM emits this information under the Registers section in the crash log.

Links to different os::print_context implementations

Test script
#!/usr/bin/env zsh
# End-to-end crashtracking test: crashes the JVM via null dereference (SIGSEGV)
# and verifies telemetry is sent to the local Datadog agent.
set -euo pipefail

SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"

_jars=("$SCRIPT_DIR"/dd-java-agent/build/libs/dd-java-agent-*.jar(N))
if [[ ${#_jars[@]} -eq 0 ]]; then
  echo "Agent jar not found — run: ./gradlew :dd-java-agent:shadowJar" >&2
  exit 1
elif [[ ${#_jars[@]} -gt 1 ]]; then
  echo "Multiple agent jars found, expected exactly one:" >&2
  printf '  %s\n' "${_jars[@]}" >&2
  exit 1
fi
AGENT_JAR="${_jars[0]}"
echo "==> Agent: $AGENT_JAR"

WORK_DIR=$(mktemp -d)
echo "==> Workdir: $WORK_DIR"

cat > "$WORK_DIR/NullDeref.java" <<'EOF'
import java.lang.foreign.MemorySegment;
import java.lang.foreign.ValueLayout;
import java.nio.file.Files;
import java.nio.file.Path;

class NullDeref {
  public static void main(String[] args) throws Exception {
    // Wait for agent to write the crash uploader script before crashing
    String scriptPath = System.getProperty("dd.test.crash_script");
    if (scriptPath != null) {
      Path script = Path.of(scriptPath);
      System.out.println("Waiting for agent to write: " + script);
      long deadline = System.nanoTime() + 15_000_000_000L;
      while (!Files.exists(script) && System.nanoTime() < deadline) {
        Thread.sleep(200);
      }
      System.out.println(Files.exists(script) ? "Script ready." : "Timeout — crashing anyway.");
    }
    System.out.println("Dereferencing null address via MemorySegment...");
    // reinterpret(Long.BYTES) bypasses bounds checks, triggering SIGSEGV at address 0
    MemorySegment.ofAddress(0).reinterpret(Long.BYTES).get(ValueLayout.JAVA_LONG, 0);
  }
}
EOF

CRASH_SCRIPT="$WORK_DIR/dd_crash_uploader.sh"

DD_TRACE_AGENT_PORT=8136 \
DD_DOGSTATSD_PORT=8135 \
mise exec java@25 -- java \
  --source 25 \
  --enable-native-access=ALL-UNNAMED \
  -javaagent:"$AGENT_JAR" \
  "-XX:OnError=$CRASH_SCRIPT %p" \
  "-XX:ErrorFile=$WORK_DIR/hs_err_%p.log" \
  -Ddd.test.crash_script="$CRASH_SCRIPT" \
  -Ddd.dogstatsd.start-delay=0 \
  -Ddd.service=crashtest-local \
  -Ddd.crashtracking.errors-intake.enabled=true \
  -Ddd.env=local \
  -Ddd.trace.enabled=false \
  "$WORK_DIR/NullDeref.java" || true

echo ""
echo "==> Files in $WORK_DIR:"
ls -la "$WORK_DIR/" 2>/dev/null || echo "(empty)"

@pr-commenter
Copy link
Copy Markdown

pr-commenter bot commented Mar 17, 2026

Benchmarks

⚠️ Warning: Baseline build not found for merge-base commit. Comparing against the latest commit on master instead.

Startup

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master bdu/processor-context
git_commit_date 1774389105 1774424636
git_commit_sha 1e19001 388e3cd
release_version 1.61.0-SNAPSHOT~1e19001696 1.61.0-SNAPSHOT~388e3cd480
See matching parameters
Baseline Candidate
application insecure-bank insecure-bank
ci_job_date 1774426477 1774426477
ci_job_id 1536048489 1536048489
ci_pipeline_id 104270442 104270442
cpu_model Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
kernel_version Linux runner-zfyrx7zua-project-304-concurrent-0-otoo39od 6.8.0-1031-aws #33~22.04.1-Ubuntu SMP Thu Jun 26 14:22:30 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux Linux runner-zfyrx7zua-project-304-concurrent-0-otoo39od 6.8.0-1031-aws #33~22.04.1-Ubuntu SMP Thu Jun 26 14:22:30 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
module Agent Agent
parent None None

Summary

Found 0 performance improvements and 0 performance regressions! Performance is the same for 64 metrics, 7 unstable metrics.

Startup time reports for petclinic
gantt
    title petclinic - global startup overhead: candidate=1.61.0-SNAPSHOT~388e3cd480, baseline=1.61.0-SNAPSHOT~1e19001696

    dateFormat X
    axisFormat %s
section tracing
Agent [baseline] (1.059 s) : 0, 1059290
Total [baseline] (11.198 s) : 0, 11198287
Agent [candidate] (1.056 s) : 0, 1055937
Total [candidate] (11.048 s) : 0, 11048117
section appsec
Agent [baseline] (1.247 s) : 0, 1246577
Total [baseline] (11.129 s) : 0, 11128857
Agent [candidate] (1.255 s) : 0, 1255343
Total [candidate] (11.138 s) : 0, 11138162
section iast
Agent [baseline] (1.226 s) : 0, 1225851
Total [baseline] (11.271 s) : 0, 11270851
Agent [candidate] (1.235 s) : 0, 1234701
Total [candidate] (11.353 s) : 0, 11352621
section profiling
Agent [baseline] (1.19 s) : 0, 1189946
Total [baseline] (11.079 s) : 0, 11079427
Agent [candidate] (1.183 s) : 0, 1182979
Total [candidate] (10.933 s) : 0, 10932921
Loading
  • baseline results
Module Variant Duration Δ tracing
Agent tracing 1.059 s -
Agent appsec 1.247 s 187.286 ms (17.7%)
Agent iast 1.226 s 166.56 ms (15.7%)
Agent profiling 1.19 s 130.656 ms (12.3%)
Total tracing 11.198 s -
Total appsec 11.129 s -69.43 ms (-0.6%)
Total iast 11.271 s 72.564 ms (0.6%)
Total profiling 11.079 s -118.86 ms (-1.1%)
  • candidate results
Module Variant Duration Δ tracing
Agent tracing 1.056 s -
Agent appsec 1.255 s 199.406 ms (18.9%)
Agent iast 1.235 s 178.764 ms (16.9%)
Agent profiling 1.183 s 127.042 ms (12.0%)
Total tracing 11.048 s -
Total appsec 11.138 s 90.045 ms (0.8%)
Total iast 11.353 s 304.503 ms (2.8%)
Total profiling 10.933 s -115.197 ms (-1.0%)
gantt
    title petclinic - break down per module: candidate=1.61.0-SNAPSHOT~388e3cd480, baseline=1.61.0-SNAPSHOT~1e19001696

    dateFormat X
    axisFormat %s
section tracing
crashtracking [baseline] (1.206 ms) : 0, 1206
crashtracking [candidate] (1.206 ms) : 0, 1206
BytebuddyAgent [baseline] (629.588 ms) : 0, 629588
BytebuddyAgent [candidate] (628.643 ms) : 0, 628643
AgentMeter [baseline] (29.574 ms) : 0, 29574
AgentMeter [candidate] (29.294 ms) : 0, 29294
GlobalTracer [baseline] (258.037 ms) : 0, 258037
GlobalTracer [candidate] (256.698 ms) : 0, 256698
AppSec [baseline] (31.965 ms) : 0, 31965
AppSec [candidate] (31.731 ms) : 0, 31731
Debugger [baseline] (60.735 ms) : 0, 60735
Debugger [candidate] (60.31 ms) : 0, 60310
Remote Config [baseline] (590.613 µs) : 0, 591
Remote Config [candidate] (585.395 µs) : 0, 585
Telemetry [baseline] (8.044 ms) : 0, 8044
Telemetry [candidate] (7.977 ms) : 0, 7977
Flare Poller [baseline] (3.533 ms) : 0, 3533
Flare Poller [candidate] (3.501 ms) : 0, 3501
section appsec
crashtracking [baseline] (1.198 ms) : 0, 1198
crashtracking [candidate] (1.206 ms) : 0, 1206
BytebuddyAgent [baseline] (658.263 ms) : 0, 658263
BytebuddyAgent [candidate] (664.62 ms) : 0, 664620
AgentMeter [baseline] (12.062 ms) : 0, 12062
AgentMeter [candidate] (12.23 ms) : 0, 12230
GlobalTracer [baseline] (258.084 ms) : 0, 258084
GlobalTracer [candidate] (259.315 ms) : 0, 259315
IAST [baseline] (24.184 ms) : 0, 24184
IAST [candidate] (24.274 ms) : 0, 24274
AppSec [baseline] (177.839 ms) : 0, 177839
AppSec [candidate] (177.938 ms) : 0, 177938
Debugger [baseline] (66.131 ms) : 0, 66131
Debugger [candidate] (66.737 ms) : 0, 66737
Remote Config [baseline] (626.215 µs) : 0, 626
Remote Config [candidate] (624.144 µs) : 0, 624
Telemetry [baseline] (8.303 ms) : 0, 8303
Telemetry [candidate] (8.367 ms) : 0, 8367
Flare Poller [baseline] (3.597 ms) : 0, 3597
Flare Poller [candidate] (3.654 ms) : 0, 3654
section iast
crashtracking [baseline] (1.212 ms) : 0, 1212
crashtracking [candidate] (1.204 ms) : 0, 1204
BytebuddyAgent [baseline] (794.96 ms) : 0, 794960
BytebuddyAgent [candidate] (799.642 ms) : 0, 799642
AgentMeter [baseline] (11.368 ms) : 0, 11368
AgentMeter [candidate] (11.507 ms) : 0, 11507
GlobalTracer [baseline] (246.802 ms) : 0, 246802
GlobalTracer [candidate] (249.356 ms) : 0, 249356
IAST [baseline] (25.326 ms) : 0, 25326
IAST [candidate] (25.601 ms) : 0, 25601
AppSec [baseline] (26.482 ms) : 0, 26482
AppSec [candidate] (26.901 ms) : 0, 26901
Debugger [baseline] (69.974 ms) : 0, 69974
Debugger [candidate] (70.545 ms) : 0, 70545
Remote Config [baseline] (524.333 µs) : 0, 524
Remote Config [candidate] (538.348 µs) : 0, 538
Telemetry [baseline] (9.678 ms) : 0, 9678
Telemetry [candidate] (9.735 ms) : 0, 9735
Flare Poller [baseline] (3.482 ms) : 0, 3482
Flare Poller [candidate] (3.494 ms) : 0, 3494
section profiling
crashtracking [baseline] (1.195 ms) : 0, 1195
crashtracking [candidate] (1.185 ms) : 0, 1185
BytebuddyAgent [baseline] (687.238 ms) : 0, 687238
BytebuddyAgent [candidate] (683.007 ms) : 0, 683007
AgentMeter [baseline] (9.039 ms) : 0, 9039
AgentMeter [candidate] (8.985 ms) : 0, 8985
GlobalTracer [baseline] (216.832 ms) : 0, 216832
GlobalTracer [candidate] (215.495 ms) : 0, 215495
AppSec [baseline] (32.361 ms) : 0, 32361
AppSec [candidate] (32.104 ms) : 0, 32104
Debugger [baseline] (66.265 ms) : 0, 66265
Debugger [candidate] (64.876 ms) : 0, 64876
Remote Config [baseline] (555.101 µs) : 0, 555
Remote Config [candidate] (573.192 µs) : 0, 573
Telemetry [baseline] (7.712 ms) : 0, 7712
Telemetry [candidate] (8.476 ms) : 0, 8476
Flare Poller [baseline] (3.473 ms) : 0, 3473
Flare Poller [candidate] (3.463 ms) : 0, 3463
ProfilingAgent [baseline] (93.938 ms) : 0, 93938
ProfilingAgent [candidate] (93.914 ms) : 0, 93914
Profiling [baseline] (94.504 ms) : 0, 94504
Profiling [candidate] (94.47 ms) : 0, 94470
Loading
Startup time reports for insecure-bank
gantt
    title insecure-bank - global startup overhead: candidate=1.61.0-SNAPSHOT~388e3cd480, baseline=1.61.0-SNAPSHOT~1e19001696

    dateFormat X
    axisFormat %s
section tracing
Agent [baseline] (1.055 s) : 0, 1055114
Total [baseline] (8.869 s) : 0, 8869026
Agent [candidate] (1.055 s) : 0, 1055450
Total [candidate] (8.825 s) : 0, 8825351
section iast
Agent [baseline] (1.23 s) : 0, 1230111
Total [baseline] (9.574 s) : 0, 9573890
Agent [candidate] (1.235 s) : 0, 1235040
Total [candidate] (9.597 s) : 0, 9596817
Loading
  • baseline results
Module Variant Duration Δ tracing
Agent tracing 1.055 s -
Agent iast 1.23 s 174.997 ms (16.6%)
Total tracing 8.869 s -
Total iast 9.574 s 704.864 ms (7.9%)
  • candidate results
Module Variant Duration Δ tracing
Agent tracing 1.055 s -
Agent iast 1.235 s 179.591 ms (17.0%)
Total tracing 8.825 s -
Total iast 9.597 s 771.467 ms (8.7%)
gantt
    title insecure-bank - break down per module: candidate=1.61.0-SNAPSHOT~388e3cd480, baseline=1.61.0-SNAPSHOT~1e19001696

    dateFormat X
    axisFormat %s
section tracing
crashtracking [baseline] (1.196 ms) : 0, 1196
crashtracking [candidate] (1.195 ms) : 0, 1195
BytebuddyAgent [baseline] (627.249 ms) : 0, 627249
BytebuddyAgent [candidate] (628.778 ms) : 0, 628778
AgentMeter [baseline] (29.264 ms) : 0, 29264
AgentMeter [candidate] (29.364 ms) : 0, 29364
GlobalTracer [baseline] (256.564 ms) : 0, 256564
GlobalTracer [candidate] (256.753 ms) : 0, 256753
AppSec [baseline] (31.638 ms) : 0, 31638
AppSec [candidate] (31.722 ms) : 0, 31722
Debugger [baseline] (59.599 ms) : 0, 59599
Debugger [candidate] (59.571 ms) : 0, 59571
Remote Config [baseline] (595.195 µs) : 0, 595
Remote Config [candidate] (578.616 µs) : 0, 579
Telemetry [baseline] (7.983 ms) : 0, 7983
Telemetry [candidate] (7.971 ms) : 0, 7971
Flare Poller [baseline] (5.016 ms) : 0, 5016
Flare Poller [candidate] (3.487 ms) : 0, 3487
section iast
crashtracking [baseline] (1.212 ms) : 0, 1212
crashtracking [candidate] (1.208 ms) : 0, 1208
BytebuddyAgent [baseline] (799.402 ms) : 0, 799402
BytebuddyAgent [candidate] (803.703 ms) : 0, 803703
AgentMeter [baseline] (11.613 ms) : 0, 11613
AgentMeter [candidate] (11.64 ms) : 0, 11640
GlobalTracer [baseline] (246.945 ms) : 0, 246945
GlobalTracer [candidate] (246.893 ms) : 0, 246893
IAST [baseline] (25.246 ms) : 0, 25246
IAST [candidate] (25.315 ms) : 0, 25315
AppSec [baseline] (26.359 ms) : 0, 26359
AppSec [candidate] (26.437 ms) : 0, 26437
Debugger [baseline] (68.485 ms) : 0, 68485
Debugger [candidate] (69.767 ms) : 0, 69767
Remote Config [baseline] (526.686 µs) : 0, 527
Remote Config [candidate] (534.309 µs) : 0, 534
Telemetry [baseline] (10.481 ms) : 0, 10481
Telemetry [candidate] (9.731 ms) : 0, 9731
Flare Poller [baseline] (3.627 ms) : 0, 3627
Flare Poller [candidate] (3.549 ms) : 0, 3549
Loading

Load

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master bdu/processor-context
git_commit_date 1774389105 1774424636
git_commit_sha 1e19001 388e3cd
release_version 1.61.0-SNAPSHOT~1e19001696 1.61.0-SNAPSHOT~388e3cd480
See matching parameters
Baseline Candidate
application insecure-bank insecure-bank
ci_job_date 1774426947 1774426947
ci_job_id 1536048490 1536048490
ci_pipeline_id 104270442 104270442
cpu_model Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
kernel_version Linux runner-zfyrx7zua-project-304-concurrent-0-i15xjvrp 6.8.0-1031-aws #33~22.04.1-Ubuntu SMP Thu Jun 26 14:22:30 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux Linux runner-zfyrx7zua-project-304-concurrent-0-i15xjvrp 6.8.0-1031-aws #33~22.04.1-Ubuntu SMP Thu Jun 26 14:22:30 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux

Summary

Found 2 performance improvements and 1 performance regressions! Performance is the same for 16 metrics, 17 unstable metrics.

scenario Δ mean agg_http_req_duration_p50 Δ mean agg_http_req_duration_p95 Δ mean throughput candidate mean agg_http_req_duration_p50 candidate mean agg_http_req_duration_p95 candidate mean throughput baseline mean agg_http_req_duration_p50 baseline mean agg_http_req_duration_p95 baseline mean throughput
scenario:load:insecure-bank:tracing:high_load better
[-151.054µs; -39.184µs] or [-9.632%; -2.499%]
unstable
[-1116.440µs; -333.242µs] or [-23.804%; -7.105%]
unstable
[-36.897op/s; +523.835op/s] or [-1.605%; +22.782%]
1.473ms 3.965ms 2542.781op/s 1.568ms 4.690ms 2299.312op/s
scenario:load:insecure-bank:iast_GLOBAL:high_load same
[-30.418µs; +57.212µs] or [-1.086%; +2.043%]
worse
[+164.205µs; +521.667µs] or [+2.102%; +6.678%]
unstable
[-177.362op/s; +104.612op/s] or [-13.710%; +8.087%]
2.814ms 8.155ms 1257.281op/s 2.801ms 7.812ms 1293.656op/s
scenario:load:petclinic:profiling:high_load better
[-1.944ms; -0.965ms] or [-10.012%; -4.972%]
unsure
[-1.991ms; -0.135ms] or [-6.502%; -0.441%]
unstable
[-11.374op/s; +44.561op/s] or [-4.780%; +18.728%]
17.960ms 29.550ms 254.531op/s 19.414ms 30.613ms 237.938op/s
Request duration reports for insecure-bank
gantt
    title insecure-bank - request duration [CI 0.99] : candidate=1.61.0-SNAPSHOT~388e3cd480, baseline=1.61.0-SNAPSHOT~1e19001696
    dateFormat X
    axisFormat %s
section baseline
no_agent (1.181 ms) : 1169, 1192
.   : milestone, 1181,
iast (3.101 ms) : 3062, 3140
.   : milestone, 3101,
iast_FULL (5.674 ms) : 5618, 5730
.   : milestone, 5674,
iast_GLOBAL (3.545 ms) : 3488, 3602
.   : milestone, 3545,
profiling (2.072 ms) : 2054, 2091
.   : milestone, 2072,
tracing (1.962 ms) : 1944, 1979
.   : milestone, 1962,
section candidate
no_agent (1.174 ms) : 1163, 1186
.   : milestone, 1174,
iast (3.097 ms) : 3059, 3136
.   : milestone, 3097,
iast_FULL (5.729 ms) : 5672, 5786
.   : milestone, 5729,
iast_GLOBAL (3.649 ms) : 3584, 3715
.   : milestone, 3649,
profiling (2.156 ms) : 2137, 2175
.   : milestone, 2156,
tracing (1.767 ms) : 1753, 1781
.   : milestone, 1767,
Loading
  • baseline results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 1.181 ms [1.169 ms, 1.192 ms] -
iast 3.101 ms [3.062 ms, 3.14 ms] 1.921 ms (162.7%)
iast_FULL 5.674 ms [5.618 ms, 5.73 ms] 4.493 ms (380.6%)
iast_GLOBAL 3.545 ms [3.488 ms, 3.602 ms] 2.364 ms (200.2%)
profiling 2.072 ms [2.054 ms, 2.091 ms] 891.778 µs (75.5%)
tracing 1.962 ms [1.944 ms, 1.979 ms] 781.169 µs (66.2%)
  • candidate results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 1.174 ms [1.163 ms, 1.186 ms] -
iast 3.097 ms [3.059 ms, 3.136 ms] 1.923 ms (163.8%)
iast_FULL 5.729 ms [5.672 ms, 5.786 ms] 4.555 ms (387.9%)
iast_GLOBAL 3.649 ms [3.584 ms, 3.715 ms] 2.475 ms (210.8%)
profiling 2.156 ms [2.137 ms, 2.175 ms] 981.733 µs (83.6%)
tracing 1.767 ms [1.753 ms, 1.781 ms] 592.729 µs (50.5%)
Request duration reports for petclinic
gantt
    title petclinic - request duration [CI 0.99] : candidate=1.61.0-SNAPSHOT~388e3cd480, baseline=1.61.0-SNAPSHOT~1e19001696
    dateFormat X
    axisFormat %s
section baseline
no_agent (19.312 ms) : 19113, 19511
.   : milestone, 19312,
appsec (18.764 ms) : 18576, 18953
.   : milestone, 18764,
code_origins (17.821 ms) : 17644, 17998
.   : milestone, 17821,
iast (17.907 ms) : 17731, 18082
.   : milestone, 17907,
profiling (19.624 ms) : 19427, 19820
.   : milestone, 19624,
tracing (17.707 ms) : 17532, 17881
.   : milestone, 17707,
section candidate
no_agent (18.267 ms) : 18077, 18457
.   : milestone, 18267,
appsec (18.781 ms) : 18591, 18971
.   : milestone, 18781,
code_origins (17.804 ms) : 17627, 17981
.   : milestone, 17804,
iast (17.916 ms) : 17735, 18098
.   : milestone, 17916,
profiling (18.331 ms) : 18149, 18513
.   : milestone, 18331,
tracing (17.984 ms) : 17802, 18166
.   : milestone, 17984,
Loading
  • baseline results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 19.312 ms [19.113 ms, 19.511 ms] -
appsec 18.764 ms [18.576 ms, 18.953 ms] -547.646 µs (-2.8%)
code_origins 17.821 ms [17.644 ms, 17.998 ms] -1.491 ms (-7.7%)
iast 17.907 ms [17.731 ms, 18.082 ms] -1.405 ms (-7.3%)
profiling 19.624 ms [19.427 ms, 19.82 ms] 311.831 µs (1.6%)
tracing 17.707 ms [17.532 ms, 17.881 ms] -1.605 ms (-8.3%)
  • candidate results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 18.267 ms [18.077 ms, 18.457 ms] -
appsec 18.781 ms [18.591 ms, 18.971 ms] 513.722 µs (2.8%)
code_origins 17.804 ms [17.627 ms, 17.981 ms] -462.985 µs (-2.5%)
iast 17.916 ms [17.735 ms, 18.098 ms] -350.354 µs (-1.9%)
profiling 18.331 ms [18.149 ms, 18.513 ms] 64.287 µs (0.4%)
tracing 17.984 ms [17.802 ms, 18.166 ms] -282.891 µs (-1.5%)

Dacapo

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master bdu/processor-context
git_commit_date 1774389105 1774424636
git_commit_sha 1e19001 388e3cd
release_version 1.61.0-SNAPSHOT~1e19001696 1.61.0-SNAPSHOT~388e3cd480
See matching parameters
Baseline Candidate
application biojava biojava
ci_job_date 1774426869 1774426869
ci_job_id 1536048491 1536048491
ci_pipeline_id 104270442 104270442
cpu_model Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
kernel_version Linux runner-zfyrx7zua-project-304-concurrent-1-64h9qz2y 6.8.0-1031-aws #33~22.04.1-Ubuntu SMP Thu Jun 26 14:22:30 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux Linux runner-zfyrx7zua-project-304-concurrent-1-64h9qz2y 6.8.0-1031-aws #33~22.04.1-Ubuntu SMP Thu Jun 26 14:22:30 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux

Summary

Found 0 performance improvements and 0 performance regressions! Performance is the same for 11 metrics, 1 unstable metrics.

Execution time for tomcat
gantt
    title tomcat - execution time [CI 0.99] : candidate=1.61.0-SNAPSHOT~388e3cd480, baseline=1.61.0-SNAPSHOT~1e19001696
    dateFormat X
    axisFormat %s
section baseline
no_agent (1.48 ms) : 1468, 1491
.   : milestone, 1480,
appsec (3.924 ms) : 3693, 4154
.   : milestone, 3924,
iast (2.263 ms) : 2193, 2332
.   : milestone, 2263,
iast_GLOBAL (2.307 ms) : 2237, 2376
.   : milestone, 2307,
profiling (2.106 ms) : 2050, 2162
.   : milestone, 2106,
tracing (2.076 ms) : 2023, 2129
.   : milestone, 2076,
section candidate
no_agent (1.475 ms) : 1463, 1486
.   : milestone, 1475,
appsec (3.83 ms) : 3609, 4050
.   : milestone, 3830,
iast (2.267 ms) : 2198, 2336
.   : milestone, 2267,
iast_GLOBAL (2.309 ms) : 2240, 2378
.   : milestone, 2309,
profiling (2.087 ms) : 2032, 2142
.   : milestone, 2087,
tracing (2.075 ms) : 2021, 2128
.   : milestone, 2075,
Loading
  • baseline results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 1.48 ms [1.468 ms, 1.491 ms] -
appsec 3.924 ms [3.693 ms, 4.154 ms] 2.444 ms (165.2%)
iast 2.263 ms [2.193 ms, 2.332 ms] 783.008 µs (52.9%)
iast_GLOBAL 2.307 ms [2.237 ms, 2.376 ms] 827.06 µs (55.9%)
profiling 2.106 ms [2.05 ms, 2.162 ms] 626.3 µs (42.3%)
tracing 2.076 ms [2.023 ms, 2.129 ms] 596.81 µs (40.3%)
  • candidate results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 1.475 ms [1.463 ms, 1.486 ms] -
appsec 3.83 ms [3.609 ms, 4.05 ms] 2.355 ms (159.7%)
iast 2.267 ms [2.198 ms, 2.336 ms] 792.173 µs (53.7%)
iast_GLOBAL 2.309 ms [2.24 ms, 2.378 ms] 834.421 µs (56.6%)
profiling 2.087 ms [2.032 ms, 2.142 ms] 612.227 µs (41.5%)
tracing 2.075 ms [2.021 ms, 2.128 ms] 599.699 µs (40.7%)
Execution time for biojava
gantt
    title biojava - execution time [CI 0.99] : candidate=1.61.0-SNAPSHOT~388e3cd480, baseline=1.61.0-SNAPSHOT~1e19001696
    dateFormat X
    axisFormat %s
section baseline
no_agent (14.899 s) : 14899000, 14899000
.   : milestone, 14899000,
appsec (15.224 s) : 15224000, 15224000
.   : milestone, 15224000,
iast (18.509 s) : 18509000, 18509000
.   : milestone, 18509000,
iast_GLOBAL (17.741 s) : 17741000, 17741000
.   : milestone, 17741000,
profiling (15.079 s) : 15079000, 15079000
.   : milestone, 15079000,
tracing (14.795 s) : 14795000, 14795000
.   : milestone, 14795000,
section candidate
no_agent (14.714 s) : 14714000, 14714000
.   : milestone, 14714000,
appsec (14.676 s) : 14676000, 14676000
.   : milestone, 14676000,
iast (18.519 s) : 18519000, 18519000
.   : milestone, 18519000,
iast_GLOBAL (18.026 s) : 18026000, 18026000
.   : milestone, 18026000,
profiling (15.522 s) : 15522000, 15522000
.   : milestone, 15522000,
tracing (14.851 s) : 14851000, 14851000
.   : milestone, 14851000,
Loading
  • baseline results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 14.899 s [14.899 s, 14.899 s] -
appsec 15.224 s [15.224 s, 15.224 s] 325.0 ms (2.2%)
iast 18.509 s [18.509 s, 18.509 s] 3.61 s (24.2%)
iast_GLOBAL 17.741 s [17.741 s, 17.741 s] 2.842 s (19.1%)
profiling 15.079 s [15.079 s, 15.079 s] 180.0 ms (1.2%)
tracing 14.795 s [14.795 s, 14.795 s] -104.0 ms (-0.7%)
  • candidate results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 14.714 s [14.714 s, 14.714 s] -
appsec 14.676 s [14.676 s, 14.676 s] -38.0 ms (-0.3%)
iast 18.519 s [18.519 s, 18.519 s] 3.805 s (25.9%)
iast_GLOBAL 18.026 s [18.026 s, 18.026 s] 3.312 s (22.5%)
profiling 15.522 s [15.522 s, 15.522 s] 808.0 ms (5.5%)
tracing 14.851 s [14.851 s, 14.851 s] 137.0 ms (0.9%)

@bric3 bric3 force-pushed the bdu/processor-context branch from f964abb to 87823ae Compare March 17, 2026 12:48
@bric3 bric3 marked this pull request as ready for review March 18, 2026 16:14
@bric3 bric3 requested a review from a team as a code owner March 18, 2026 16:14
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 18, 2026

Hi! 👋 Thanks for your pull request! 🎉

To help us review it, please make sure to:

  • Add at least one type, and one component or instrumentation label to the pull request

If you need help, please check our contributing guidelines.

@bric3 bric3 force-pushed the bdu/processor-context branch from 8c8bf53 to 74c1391 Compare March 19, 2026 09:07
@bric3 bric3 added type: enhancement Enhancements and improvements comp: crash tracking Crash Tracking labels Mar 19, 2026
@bric3 bric3 force-pushed the bdu/processor-context branch from 74c1391 to 9b3b0aa Compare March 19, 2026 10:29
@bric3 bric3 requested a review from amarziali March 19, 2026 15:48
Copy link
Copy Markdown
Contributor

@amarziali amarziali left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice work!

* and subsequent sections such as {@code siginfo} and registers will be silently skipped. The
* resulting {@link datadog.crashtracking.dto.CrashLog} will be marked {@code incomplete}.
*/
public final class HotspotCrashLogParser {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

J9JavacoreParser should also be also maintained here (if applicable) - but it can be done in a follow up PR

@bric3 bric3 enabled auto-merge March 25, 2026 07:51
@bric3 bric3 added this pull request to the merge queue Mar 25, 2026
@dd-octo-sts
Copy link
Copy Markdown
Contributor

dd-octo-sts bot commented Mar 25, 2026

/merge

@gh-worker-devflow-routing-ef8351
Copy link
Copy Markdown

gh-worker-devflow-routing-ef8351 bot commented Mar 25, 2026

View all feedbacks in Devflow UI.

2026-03-25 08:45:27 UTC ℹ️ Start processing command /merge


2026-03-25 08:45:31 UTC ℹ️ MergeQueue: pull request added to the queue

The expected merge time in master is approximately 3h (p90).


2026-03-25 09:45:21 UTC ℹ️ MergeQueue: This merge request was merged

@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Mar 25, 2026
@gh-worker-dd-mergequeue-cf854d gh-worker-dd-mergequeue-cf854d bot merged commit aed9baf into master Mar 25, 2026
566 checks passed
@gh-worker-dd-mergequeue-cf854d gh-worker-dd-mergequeue-cf854d bot deleted the bdu/processor-context branch March 25, 2026 09:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp: crash tracking Crash Tracking type: enhancement Enhancements and improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants